package com.imu.purse.modules.base.entity;


import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.imu.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 系统配置信息
 * 
 * @author sunhongwei
 * @email sunhongwei@gmail.com
 * @date 2017-03-23 15:22:06
 */
@Data
@Table(name = "sys_config")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class SysConfigEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="id")
	private Long id;
	
	@Column(name="key")
	private String key;

	@Column(name="value")
	private String value; 

	@Column(name="remark")
	private String remark;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
